/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package managertelaCadastros;

import classes.Empresa;
import dao.DaoEmpresa;
import java.util.List;
import telaCadastros.CadEmpresa;

/**
 *
 * @author fumio
 */
public class managerCadEmpresa implements interfaceManager{

    private Empresa empresa;
    private static CadEmpresa cadEmpresa;
    private DaoEmpresa daoEmpresa = new DaoEmpresa();

    public managerCadEmpresa(Empresa cEmpresa) {
        cadEmpresa = CadEmpresa.getInstance(this);
        if (cEmpresa == null) {
            empresa = new Empresa();
        } else {
            empresa = cEmpresa;
            getData();
        }

        cadEmpresa.setVisible(true);
    }

    @Override
    public List carregar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean setData() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public final void getData() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean salvar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
